package edu.scau.misp.backend_module.domain;

import org.springframework.stereotype.Component;

import java.io.Serializable;

@Component
public class Addition  {
    private Long additionId;

    private Long additionSn;

    private String additionDescription;

    public Addition() {
    }

    public Addition(Long additionId, Long additionSn, String additionDescription) {
        this.additionId = additionId;
        this.additionSn = additionSn;
        this.additionDescription = additionDescription;
    }

    @Override
    public String toString() {
        return "Addition{" +
                "additionId=" + additionId +
                ", additionSn=" + additionSn +
                ", additionDescription='" + additionDescription + '\'' +
                '}';
    }

    public Long getAdditionId() {
        return additionId;
    }

    public void setAdditionId(Long additionId) {
        this.additionId = additionId;
    }

    public Long getAdditionSn() {
        return additionSn;
    }

    public void setAdditionSn(Long additionSn) {
        this.additionSn = additionSn;
    }

    public String getAdditionDescription() {
        return additionDescription;
    }

    public void setAdditionDescription(String additionDescription) {
        this.additionDescription = additionDescription;
    }
}
